package com.myboxlab.web;

import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ApplicationController extends Handler {

    @RequestMapping(value = { "index", "" })
    public ModelAndView admin(HttpServletRequest request, @Valid String q) {

        ModelAndView view = request(super.createAppsTempletResponse("/index"));
        return view;

    }

}
